Read (and do) the online tutorial about REST interfaces here: https://netbeans.org/kb/docs/websvc/rest.html

Note that you will need to create a REST interface for your Sprite database in your Sprite project, so that you can use the Android client to create a sprite.
